<template>
  <!-- <div class="top"> -->
  <div class="mint-header is-fixed">
    <h1 class="mint-header-title">传智播客.黑马程序员Vue.js</h1>
    <!-- </div> -->
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.is-fixed {
  top: 0;
  right: 0;
  left: 0;
  position: fixed;

  z-index: 2;
}
.mint-header {
  align-items: center;
  background-color: #26a2ff;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  justify-content: center;
  justify-items: center;
  font-size: 14px;
  height: 40px;
  line-height: 1;
  padding: 0 10px;
  position: relative;
  text-align: center;
  white-space: nowrap;
  top: 0;
  right: 0;
  left: 0;
  position: fixed;
}
.mint-header-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: inherit;
  font-weight: 400;
  flex: 1;
}
</style>